<?php
	class CgTestplatform extends AppModel
	{
			var $name = "CgTestplatform";
			var $primarykey = 'id';
			
			var $hasMany = array (
	    		'Attachment' => array (
				'className' => 'Attachment',
				'conditions' => array("Attachment.is_deleted='0'"),
				'foreignKey' => 'pid',
	    		),
    	);
	}
?>